<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //instanceof 判断对象实例是否属于某个类或构造函数
        // typeof null  object array 都为object  
          //instanceof number string boolean 都为false null undefined 报错 实例
          //constructor  null undefined 报错 
          //Object.prototype.toString.call() 所有类型都可以
    </script>
</body>
</html>